package exercise_1;

import javax.swing.JOptionPane;

public class Dialog {
	
	public static void main(String[] args) {
		String name = JOptionPane.showInputDialog("What is your name?");
		String message = String.format("Welcome, %s, to Java programing", name);
		JOptionPane.showMessageDialog(null, message);
		
	}
}
